using System;
using Microsoft.SharePoint;

namespace SharePoint.DataMapper
{
	public interface IFieldMapper
	{
		object SetField(ListDataContext context, object value, Type propertyType);
		object GetField(ListDataContext context, object value, Type propertyType);
		SPField AddField(ListDataContext context, SPFieldCollection collection, Type propertyType, FieldAttribute attribute);
		FieldAttribute GetFieldAttribute(SPField field);
	}
}